import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 *Clase Lletrero
 * 
 * @author Andrés Cruz Santiago ,Jesús Aurelio Hrnández Aguilar
 * @version 02/07/13
 */
public class Letrero extends World
{

    /**
     * Constructor for objects of class Letrero2.
     * @param unNum número de letrero a desplegar del 0 al 4.
     */
    public Letrero(int unNum)
    {    
        // Create a new world with 600x400 cells with a cell size of 1x1 pixels.
        super(600, 400, 1); 
        switch(unNum)
        {
            case 0:
            setBackground("Letrero0.png");
            break;

            case 1:
            setBackground("Letrero1.png");
            break;
            case 2:
            setBackground("Letrero2.png");
            break;
            case 3:
            setBackground("Letrero3.png");
            break;
            case 4:
            setBackground("Letrero4.png");
            break;
        }
    }
}
